package com.wondersgroup.fjzlpt.yyzyzx.controller.view.yyzygl.jcgzgl;

import javax.servlet.http.HttpServletRequest;

import com.wondersgroup.fjzlpt.yyzyzx.util.ControllerUtils;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.alibaba.fastjson.JSONObject;

@Controller
@RequestMapping("/xmhcgzsz")
public class XmhcgzszController {

	/**
     * 项目互斥规则设置列表查询页面
     * @param request
     * @return
     */
    @RequestMapping("/index.html")
    public String index(HttpServletRequest request) {
        JSONObject requestData = ControllerUtils.getRequestData(request);
        request.setAttribute("requestData", requestData);
        return "yyzygl/yysz/jcgzgl/xmhcgzsz/index";
    }
    
    /**
     * 项目互斥规则新增与修改页面
     * @param request
     * @return
     */
    @RequestMapping("/manager.html")
    public String manager(HttpServletRequest request) {
    	JSONObject requestData = ControllerUtils.getRequestData(request);
        request.setAttribute("requestData", requestData);
        return "yyzygl/yysz/jcgzgl/xmhcgzsz/manager";
    }
}
